package com.letoy.edu.dao;

import com.letoy.edu.entity.MyApi;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface UserApiMapper {
    List<MyApi> getApiListByUserId(String id);

    int cleanToken(String token);

    int insertApi(MyApi myApi);
}
